package com.hy.mydesktop.server.service;

import java.util.List;

import javax.annotation.Resource;

import com.hy.jpa.connection.T;
import com.hy.mydesktop.server.dao.ComponentControllerMetaModelDao;
import com.hy.mydesktop.server.dao.GxtComponentMetaNodeModelDao;
import com.hy.mydesktop.shared.persistence.domain.gxt.GxtComponentControllerMetaModel;
import com.hy.mydesktop.shared.persistence.domain.gxt.GxtComponentMetaNodeModel;

public interface GxtComponentMetaNodeModelService {

	
	public void persistT(T t) ;
	
	public void setGxtComponentMetaNodeModelDao(
			GxtComponentMetaNodeModelDao<GxtComponentMetaNodeModel> gxtComponentMetaNodeModelDao);
			
	public Boolean addGxtComponentMetaNodeModel(
			GxtComponentMetaNodeModel gxtComponentMetaNodeModel);

	//public Boolean addComponentControllerMetaModels(
	//		List<GxtComponentControllerMetaModel> componentControllerMetaModels);

	public Boolean updateGxtComponentMetaNodeModel(
			GxtComponentControllerMetaModel componentControllerMetaModel);

	public Boolean updateGxtComponentMetaNodeModels(
			List<GxtComponentControllerMetaModel> componentControllerMetaModels);

	public Boolean deleteGxtComponentMetaNodeModel(
			GxtComponentMetaNodeModel gxtComponentMetaNodeModel);
	
	public Boolean deleteGxtComponentMetaNodeModelByIdentifier(
			String identifier);
	
	public Boolean deleteByGxtComponentId(
			String id);


	
	public List<GxtComponentMetaNodeModel> findAllGxtComponentMetaNodeModels();

	
	public GxtComponentMetaNodeModel findGxtComponentMetaNodeModelByIdentifier(
			String identifier);

	public GxtComponentMetaNodeModel findByGxtComponentId(
			String id);

	
	

}